package com.aliang.shopping.mapper;

import com.aliang.shopping.model.po.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ShiBaLover
 * @description 针对表【message(消息表)】的数据库操作Mapper
 * @createDate 2024-10-28 09:35:47
 * @Entity com.aliang.shopping.model.po.Message
 */
public interface MessageMapper extends BaseMapper<Message> {

    List<Message> getMessageListByContactId(@Param("userId") Long userId, @Param("contactId") Long contactId);

    List<Message>  queryBYUserIdAndContactId(@Param("userId") Long userId, @Param("contactId") Long contactId);
}




